package model

type Item struct {
	Id      int    `json:"id" from:"id" gorm:"primarykey;AUTO_INCREMENT"`
	Title   string `json:"title" from:"title" gorm:"colum:title;comment:项目名称"`
	Content string `json:"content" from:"content" gorm:"column:content;comment:项目详情"`
	People  string `json:"people" from:"people" gorm:"column:people;comment:参与人"`
	Time    string `json:"time" from:"time" gorm:"column:time;comment:时间戳"`
}

func (Item) TableName() string {
	return "item"
}
